package com.inxedu.os.edu.pojo;

import java.io.Serializable;
import java.util.Date;

public class CommentResult implements Serializable {

    private Integer commentId;

    private Integer userId;

    private Integer pCommentId;

    private String content;

    private Date addTime;

    private Integer praiseCount;

    private Integer replyCount;

    private Integer type;

    private String email;

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getpCommentId() {
        return pCommentId;
    }

    public void setpCommentId(Integer pCommentId) {
        this.pCommentId = pCommentId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getPraiseCount() {
        return praiseCount;
    }

    public void setPraiseCount(Integer praiseCount) {
        this.praiseCount = praiseCount;
    }

    public Integer getReplyCount() {
        return replyCount;
    }

    public void setReplyCount(Integer replyCount) {
        this.replyCount = replyCount;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String toString() {
        return "CommentResult{" +
                "commentId=" + commentId +
                ", userId=" + userId +
                ", pCommentId=" + pCommentId +
                ", content='" + content + '\'' +
                ", addTime=" + addTime +
                ", praiseCount=" + praiseCount +
                ", replyCount=" + replyCount +
                ", type=" + type +
                ", email='" + email + '\'' +
                '}';
    }
}
